from sorl import curator as admin
from example_project.news.models import News

class NewsAdmin(admin.ModelAdmin):
    list_display = ('headline', 'pub_date', 'site')
    prepopulated_fields = {"slug": ("headline",)}

admin.site.register(News, NewsAdmin)
